package com.windowes.weichang.dao;

import com.windowes.weichang.pojo.DemandItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DemandItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DemandItem record);

    int insertSelective(DemandItem record);

    DemandItem selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DemandItem record);

    int updateByPrimaryKey(DemandItem record);

    List<DemandItem> selectByDemandId(Integer demandId);

    int updateShopIdByDemandId(@Param("demandId") Integer demandId,@Param("shopId")  Integer shopId);
}